Dynamic Memory Networks for Question Answering
نویسنده
چکیده
Dynamic Memory Networks (DMNs) have shown recent success in question answering. They have achieved state-of-the-art results of the Facebook bAbI dataset and performed well on sentiment analysis and visual question answering [1] [6]. In this project, we implement our own DMN in tensorflow and verify its performance quantitatively and qualitatively. We achieve very similar results to those achieved in Kumar et al. and Xiong et al. [1] [6]. In addition, we build a demo to visualize the attention placed on different input sentences in the episodic memory module, and show that the model places it’s attention on the correct sentences for a variety of different tasks even without any explicit attention feedback during training. Last, we experiment with training a model to accomplish more than one babi task at the same time. We show that DMNs can successfully complete multiple babi tasks with the same model including one step reasoning, two step reasoning and yes/no questions. In addition, we illustrate through the demo that the combined model places the attention on the correct sentences when performing the different tasks.
منابع مشابه
Dynamic Inference: Using Dynamic Memory Networks for Question Answering
Question Answering is an incredibly important task in Natural Language Processing (NLP), and we aim to experiment with models in Machine Comprehension to attempt to perform well on Question Answering tasks. We specifically work with the Faceboook bAbi dataset, and aim to achieve strong results using Dynamic Memory Networks, which are known to have strong performance for this task. Dynamic Memor...
متن کاملAsk Me Even More: Dynamic Memory Tensor Networks (Extended Model)
We examine Memory Networks for the task of question answering (QA), under common real world scenario where training examples are scarce and under weakly supervised scenario, that is only extrinsic labels are available for training. We propose extensions for the Dynamic Memory Network (DMN), specifically within the attention mechanism, we call the resulting Neural Architecture as Dynamic Memory ...
متن کاملIncorporating External Knowledge to Answer Open-Domain Visual Questions with Dynamic Memory Networks
Visual Question Answering (VQA) has attracted much attention since it offers insight into the relationships between the multi-modal analysis of images and natural language. Most of the current algorithms are incapable of answering open-domain questions that require to perform reasoning beyond the image contents. To address this issue, we propose a novel framework which endows the model capabili...
متن کاملDynamic Memory Networks for Visual and Textual Question Answering
Neural network architectures with memory and attention mechanisms exhibit certain reasoning capabilities required for question answering. One such architecture, the dynamic memory network (DMN), obtained high accuracy on a variety of language tasks. However, it was not shown whether the architecture achieves strong results for question answering when supporting facts are not marked during train...
متن کاملMemory Networks
We describe a new class of learning models called memory networks. Memory networks reason with inference components combined with a long-term memory component; they learn how to use these jointly. The long-term memory can be read and written to, with the goal of using it for prediction. We investigate these models in the context of question answering (QA) where the long-term memory effectively ...
متن کامل